import request from '@/utils/request'

export function loginByApiKey() {
  return request({
    url: '/api/api-key/login',
    method: 'post'
  })
}

export function reg(data) {
  return request({
    url: '/api/user/reg',
    method: 'post',
    data
  })
}

